package cn.tedu.notice.mapper;
import org.apache.ibatis.annotations.Mapper;
import cn.tedu.notice.pojo.entity.Notice;
import org.apache.ibatis.annotations.Param;
import java.util.List;
//BindingException
@Mapper
public interface NoticeMapper {
      int insert(Notice notice);

      Notice selectById(Long id);

      List<Notice> list(@Param("title") String title,
                        @Param("type") Integer type);


      int deleteById(@Param("ids") Long[] ids);

      int update(Notice notice);

}
